<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:105:"D:\phpstudy_pro\WWW\qdcrmceshi.com\public/../application/admin\view\qingdongams\department\role\rule.html";i:1751938036;s:77:"D:\phpstudy_pro\WWW\qdcrmceshi.com\application\admin\view\layout\default.html";i:1746006160;s:74:"D:\phpstudy_pro\WWW\qdcrmceshi.com\application\admin\view\common\meta.html";i:1746006160;s:76:"D:\phpstudy_pro\WWW\qdcrmceshi.com\application\admin\view\common\script.html";i:1746006160;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="referrer" content="never">
<meta name="robots" content="noindex, nofollow">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo htmlentities(\think\Config::get('site.version') ?? ''); ?>" rel="stylesheet">

<?php if(\think\Config::get('fastadmin.adminskin')): ?>
<link href="/assets/css/skins/<?php echo htmlentities(\think\Config::get('fastadmin.adminskin') ?? ''); ?>.css?v=<?php echo htmlentities(\think\Config::get('site.version') ?? ''); ?>" rel="stylesheet">
<?php endif; ?>

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config ?? ''); ?>
    };
</script>

    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <?php if($auth->check('dashboard')): ?>
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                    <?php endif; ?>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo htmlentities($vo['url'] ?? ''); ?>"><?php echo htmlentities($vo['title'] ?? ''); ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <style type="text/css">
    .jstree-default .jstree-node{
        padding-left: 0;
        margin-left:0;
        font-size: 16px;
        font-weight: 700;
        line-height:2em;
        background-image:none!important;;
    }
    #treeview .jstree-leaf{
        padding-left: 0;
        font-size: 14px;
        font-weight: 500;
        background-image:none!important;
    }
    .jstree-default .jstree-ocl{
        display: none;
    }
</style>
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <?php echo token(); ?>
    <input type="hidden" name="row[ids]" id="ids" value="<?php echo $row['id']; ?>">
    <input type="hidden" name="row[rules]" value="<?php echo $row['rules']; ?>" />
    <div class="form-group">
        <div class="col-sm-12">
            <blockquote style="padding: 2px 10px;text-align: left">
                <p>数据权限
                    <span style="padding:5px;"></span>
                    <a href="javascript:;" id="myPopover"   data-toggle="popover" data-placement="right" data-trigger="hover" data-template='<div class="popover" role="tooltip">
    <div class="arrow"></div>
    <h3 class="popover-title" style="width:200px;"></h3>
</div>'  data-original-title="数据权限指员工登录账户看到的数据信息,分别为本人、本人及下属、本部门、仅下属部门、本部门及下属部门、全部。<br>
本人：只能看自己的客户信息;<br>
本人及下属：可以看本人及下属的客户信息;<br>
本部门：可以看本部门的所有客户信息;<br>
仅下属部门：只可以看下属的客户信息;<br>
本部门及下属部门：可以看本部门和下属部门全部的客户信息;<br>
全部：相当于超级管理员，可以看全部客户信息."><i class="fa fa-question-circle" style="font-size:16px;"></i></a></p>

            </blockquote>

            <label  class="control-label col-sm-1">权限:</label>
            <div class="col-sm-11">
                <?php echo build_radios('row[role_type]',$rule,$row['role_type']); ?>
            </div>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-12">
            <blockquote style="padding: 2px 10px;text-align: left">
                <p>模块功能
                    <span style="padding:5px;"></span>
                    <a href="javascript:;" id="seas"   data-toggle="popover" data-placement="right" data-trigger="hover"   data-content="公海权限：设置不同员工可查看公海客户的数据权限,勾选后员工可看到对应设置下的客户信息。<br>小程序菜单权限：设置小程序菜单功能的显示和隐藏,可指定员工操作的功能" data-original-title="" title=""><i class="fa fa-question-circle" style="font-size:16px;"></i></a>
                </p>
            </blockquote>
            <div class="col-sm-11">
                <div id="treeview" class="treeview"></div>
            </div>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled"><?php echo __('OK'); ?></button>
            <button type="reset" class="btn btn-default btn-embossed"><?php echo __('Reset'); ?></button>
        </div>
    </div>
</form>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="/assets/js/require.min.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version'] ?? ''); ?>"></script>

    </body>
</html>
